[gd_resource type="ShaderMaterial" load_steps=2 format=1]

[sub_resource type="MaterialShader" id=1]

_code = { "fragment":"float ndot = dot(NORMAL, VERTEX);\nif (ndot <= 0.0){\nDIFFUSE_ALPHA = vec4(0,0,0,0);\n}\nelse{\nDIFFUSE_ALPHA = vec4(COLOR.xyz, 1.0);\n}", "fragment_ofs":0, "light":"LIGHT = DIFFUSE;", "light_ofs":0, "vertex":"", "vertex_ofs":0 }

[resource]

flags/visible = true
flags/double_sided = false
flags/invert_faces = false
flags/unshaded = false
flags/on_top = false
flags/lightmap_on_uv2 = true
flags/colarray_is_srgb = false
params/blend_mode = 0
params/depth_draw = 1
params/line_width = 2.0
shader/shader = SubResource( 1 )

